package com.kehutong.charge.entity;

import com.kehutong.common.entity.DataEntity;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

import java.math.BigDecimal;

/**
 * @program: kht
 * @description: 缴费字典表
 * @author: joneron
 * @create: 2021/7/2
 **/
@Table(value="t_charge_dict", comment="缴费字典表",multi = true, idType = IDType.TIMESTAMP, engine = "innodb")
public class ChargeDict extends Entity {

    protected ChargeDict(String id) {
        super(id);
    }

    @Column(comment="字典名称")
    private String dictName;

    @Column(comment="字典key")
    private String dictKey;

    @Column(comment="字典值")
    private String dictValue;

    @Column(comment = "状态：0未处理，1处理")
    private boolean status;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "创建人")
    private String createName;

    public String getDictName() {
        return dictName;
    }

    public void setDictName(String dictName) {
        this.dictName = dictName;
    }

    public String getDictKey() {
        return dictKey;
    }

    public void setDictKey(String dictKey) {
        this.dictKey = dictKey;
    }

    public String getDictValue() {
        return dictValue;
    }

    public void setDictValue(String dictValue) {
        this.dictValue = dictValue;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }
}
